package com.luginf.activities.create;

import java.util.Date;
import java.util.Locale;

import com.luginf.utils.DateUtils;

import com.luginf.activities.R;
import android.app.Activity;
import android.os.Bundle;
import android.widget.EditText;

public class PurchaseActivity extends Activity {

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.create_purchase);
		
		// Initialize the date
		String date = DateUtils.formatDateToLocale(new Date(), Locale.getDefault());
		EditText dateET = (EditText) findViewById(R.id.createPurchaseDate);
		dateET.setText(date);
	}
}